/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bloque2;

import java.util.Scanner;

/**
 *
 * @author Christian
 */
public class ejercicio13 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
         Scanner teclado=new Scanner(System.in); 
         
        System.out.println("Escribe un caracter: "); 
        char letra=teclado.nextLine().charAt(0); 
        if(Character.isUpperCase(letra)){ 
            System.out.println("Es mayuscula"); 
        }
        else {
            if (Character.isDigit(letra)){
                System.out.println("Es un digito");
                           }
            else{
            
            System.out.println("NO es mayuscula");
            }
        }
    }
}
